var App = angular.module('electronicfence', []);

App.config(require('./router'));
App.factory('electronicfenceservice', require('./service'));

// 景区列表
App.controller('scenicAreaList',require('./controllers/ScenicAreaList')); 
// 景点列表
App.controller('scenicSpotList',require('./controllers/ScenicSpotList')); 
// 创建景点
App.controller('createSpot',require('./controllers/CreateSpot'));
// 创建景区
App.controller('createArea',require('./controllers/CreateArea'));

module.exports = App;